package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 学习springboot
 *
 * @author ml
 * @create 2017-05-16--14:59
 */
@RestController
public class HelloWorld {
    @RequestMapping("/hello")
    public String index(){
        return "Hello World";
    }

}
